import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
// import set from '@dfeidao/atom-web/local/set';
import fire from '@dfeidao/atom-web/msg/fire';
// import set_node_cls from '@dfeidao/atom-web/ui/set-node-cls';
// import set_nodes_cls from '@dfeidao/atom-web/ui/set-nodes-cls';
export default async function a009(fd: IFeidaoAiBrowserComponent, f: Event) {
	// todo
	/*	const n1 = f.target as HTMLDivElement;
		const ov = n1.getAttribute('data-ov');
		const vd = n1.getAttribute('data-vd');
		const vn = n1.getAttribute('data-vn');

		set(fd, 'data-ov', ov);
		set(fd, 'data-vd', vd);
		set(fd, 'data-vn', vn);

		console.log("a001", f.currentTarget, f.target);

		fire("zj-000005", 'a002');

		const d1 = f.currentTarget as HTMLDivElement;
		const nodes1 = fd.data.node.querySelectorAll('[data-Name="Hidden"]');
		const ns1 = Array.from(nodes1) as HTMLDivElement[];
		set_nodes_cls(ns1, 'bg-select', false);
		set_node_cls(d1, 'bg-select', true);*/
	fire("zj-000005", "a001");// 打开删除弹框
}
